/**
 * 
 */
package org.ycsoft.metroid;

import java.net.MalformedURLException;
import java.net.URL;

/**
 * @author lookouster
 *
 */
public class RepoMatchedItem {
	
	public RepoMatchedItem(){};
	
	String city, mean, date;
	URL url;

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getMean() {
		return mean;
	}

	public void setMean(String mean) {
		this.mean = mean;
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public URL getUrl() {
		return url;
	}

	public void setUrl(String url) throws MalformedURLException {
		this.url = new URL(url);
	}
	
	@Override
	public String toString()
	{
		//return city+" ( "+mean+" )" + " -- "+date;
		return city+" ( "+mean+" )";
	}
	
	

}
